home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_1199 / 1002 < prev    next >
Internet Message Format  |  1994-08-27  |  4KB

  1. Date: Fri, 22 Jul 1994 13:47:20 -0400 (EDT)
  2. Date: Fri, 22 Jul 94 01:27 EST
  3. Subject: Gem List (Please Post!) (fwd)
  4. Subject: Gem List (Please Post!)
  5. Subject:  Re: ST-Guide AND Geneva Help?
  6. Subject:  Amodal
  7. Date: Fri, 22 Jul 1994 13:47:20 -0400 (EDT)
  8. Mime-Version: 1.0
  9. Precedence: bulk
  10.  
  11. Forwarded message:
  12. >From 0006795560@mcimail.com Fri Jul 22 02:28:36 1994
  13. Date: Fri, 22 Jul 94 01:27 EST
  14. From: "Daniel J. Hollis" <0006795560@mcimail.com>
  15. To: ems <gem-list-approval@world.std.com>
  16. Subject: Gem List (Please Post!)
  17. Message-Id: <10940722062701/0006795560PK2EM@mcimail.com>
  18.  
  19. To: gem-list@world.std.com
  20. Subject:  Re: ST-Guide AND Geneva Help?
  21.  
  22. Warwick:
  23. --------
  24. > If an ACC doesn't call menu_register, does it still take up a `slot'?
  25.  
  26. If you mean a slot by taking up a place in the DESK menu, no it doesn't.
  27. In MultiTOS or Geneva, however, it DOES get placed up there, but unless
  28. you change the name, it won't appear up there with the name you want.
  29.  
  30. If you install the program as an accessory, it doesn't really need to take
  31. up a slot, but if you want the program to receive AC_OPEN and AC_CLOSE
  32. messages (or AC_TERM like X-AES does) you have to register the name.
  33.  
  34. >> How do you do this?
  35. > On older TOS's this is exactly the case - no dragging.  But with WINX or
  36. > with newer TOS versions, the BEVENT flag of a window can be set, thus
  37. > allowing it to perform drags.  Sliders generally provide paging or lining
  38. > areas/buttons, so they are still usable via single clicks, just not as
  39. > much as when topped.
  40.  
  41. Well, if you really wanted to do this the way you said, the only real way
  42. you would be able to do it is by creating your own windows.  Since not many
  43. of us out here are willing, or able, to do this, they shy away from the mere
  44. mentioning of such a technique.  The way it should be done is:
  45.  
  46. -click- (quick tap of mouse button) tops the window
  47. -press- (press-and-hold of button) activates a button gadget or dialog
  48.  
  49. When X-AES is released, you all will see how this was done, but I have to
  50. make sure that Yat will let me post!
  51.  
  52. -- Ken Hollis (Bitgate Software)
  53. ----
  54. Subject:  Amodal
  55.  
  56. Michael (??)
  57. ------------ 
  58. > Another question to you programming guru's:
  59.  
  60. > Say you have a vertical slider and you use graf_dragbox to handle 
  61. > dragging of the slider.  The slider ends up being two pixels thinner than 
  62. > the parent and can move left and right a little.  Why?
  63.  
  64. No one really knows the reason.  I think it's the way that AES was created
  65. to handle objects and dialogs.  If you remember, when you select an object,
  66. it has to select the area one pixel within the object and fill it in (with
  67. an XOR mask) with black.
  68.  
  69. I noticed part of the problem when I tried creating custom objects with the
  70. PARMBLK parameter.  In the PARMBLK, you have one of two ways of handling the
  71. drawing of the object.
  72.  
  73. 1: You could subtract one value from pb_w and pb_h or
  74. 2: You could keep in mind that the returned object will have the width and
  75.    height one too big.  Design around this.
  76.  
  77. Personally, I choose 1.  This happens to be an AES bug, and since MultiTOS
  78. is changing so many times, there is no real way I can think of to counter
  79. this in MultiTOS.  All other TOSes handle the objects the same way.
  80.  
  81. > My solution was to temporarily increase its width by two.
  82.  
  83. If that was the case do:
  84.  
  85. x--; y--; w++; h++;
  86.  
  87. ^_^
  88.  
  89. > Hey, are you guys actually going to make suggestions for me or just steal 
  90. > my ideas?  :)
  91.  
  92. Don't worry.  *I* won't steal your ideas, I don't know about others...  :)
  93.  
  94. -- Ken Hollis (Bitgate Software)
  95. -----
  96.  
  97.